.Net Framework > v2.0.50727 > System > Windows > Forms > ListBox ListBox
Category
Class
Description
Represents a Windows control to display a list of items.
Assembly
System.Windows.Forms
Character
public
Attributes
NameValue/Assignment
DefaultBindingPropertyAttributeSelectedValue
ComVisibleAttributeTrue
ClassInterfaceAttributeSystem.Runtime.InteropServices.ClassInterfaceType.AutoDispatch
DesignerAttributeSystem.Windows.Forms.Design.ListBoxDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
DefaultEventAttributeSelectedIndexChanged
DefaultPropertyAttributeItems
Ancestors
ListControl > Control > Component > MarshalByRefObject > Object
Descendants
DirListBox, FileListBox, CheckedListBox
Contstructors
ListBox()
Properties
AllowSelection
BackColor
BackgroundImage
BackgroundImageLayout
BorderStyle
ColumnWidth
CreateParams
CustomTabOffsets
DefaultSize
DrawMode
Font
ForeColor
HorizontalExtent
HorizontalScrollbar
IntegralHeight
ItemHeight
Items
MultiColumn
Padding
PreferredHeight
RightToLeft
ScrollAlwaysVisible
SelectedIndex
SelectedIndices
SelectedItem
SelectedItems
SelectionMode
Sorted
Text
TopIndex
UseCustomTabOffsets
UseTabStops
Events
BackgroundImageChanged
BackgroundImageLayoutChanged
Click
DrawItem
MeasureItem
MouseClick
PaddingChanged
Paint
SelectedIndexChanged
TextChanged
Methods
AddItemsCore(Object[])
BeginUpdate()
ClearSelected()
CreateItemCollection()
EndUpdate()
FindString(String)
FindString(String,Int32)
FindStringExact(String)
FindStringExact(String,Int32)
GetItemHeight(Int32)
GetItemRectangle(Int32)
GetScaledBounds(Rectangle,SizeF,BoundsSpecified)
GetSelected(Int32)
IndexFromPoint(Point)
IndexFromPoint(Int32,Int32)
OnChangeUICues(UICuesEventArgs)
OnDataSourceChanged(EventArgs)
OnDisplayMemberChanged(EventArgs)
OnDrawItem(DrawItemEventArgs)
OnFontChanged(EventArgs)
OnHandleCreated(EventArgs)
OnHandleDestroyed(EventArgs)
OnMeasureItem(MeasureItemEventArgs)
OnParentChanged(EventArgs)
OnResize(EventArgs)
OnSelectedIndexChanged(EventArgs)
OnSelectedValueChanged(EventArgs)
Refresh()
RefreshItem(Int32)
RefreshItems()
ResetBackColor()
ResetForeColor()
ScaleControl(SizeF,BoundsSpecified)
SetBoundsCore(Int32,Int32,Int32,Int32,BoundsSpecified)
SetItemCore(Int32,Object)
SetItemsCore(IList)
SetSelected(Int32,Boolean)
Sort()
ToString()
WmReflectCommand(Message@)
WndProc(Message@)
Fields
DefaultItemHeight
NoMatches
Types
IntegerCollection
ObjectCollection
SelectedIndexCollection
SelectedObjectCollection
Tags
0103E2B958, 02E3ABA98D, 0376596F91
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database